home *** CD-ROM | disk | FTP | other *** search
- onClipEvent(enterFrame){
- if(this.head.hitTest(_root.player.board) && _root.player.falling == true && _root.player.grounded == false && _currentframe == 1)
- {
- _root.player.yspeed = -15;
- _root.player.gotoAndStop(2);
- this.gotoAndStop(2);
- }
- if(bleh == 0)
- {
- _xscale = scale;
- }
- if(bleh == 1)
- {
- _xscale = - scale;
- }
- if(_X <= _root.super._x)
- {
- gotoAndStop("blank");
- ok = 0;
- }
- else
- {
- ok = 1;
- }
- if(_currentframe != 2 && ok == 1)
- {
- gotoAndStop(1);
- }
- }
-